﻿using System;

namespace WxLib.QRCode
{
    [Serializable]
    public class WxaCodeOptions
    {
        public string path { get; set; }
        public int width { get; set; }
        public bool auto_color { get; set; }
        public LineColor line_color { get; set; }
    }

    [Serializable]
    public class LineColor
    {
        public LineColor(int r, int g, int b)
        {
            this.r = r.ToString();
            this.g = g.ToString();
            this.b = b.ToString();
        }
        public string r { get; set; }
        public string g { get; set; }
        public string b { get; set; }
    }
}
